import Vue from 'vue'
import App from './App'

import store from './store'

Vue.config.productionTip = false;

Vue.prototype.$store = store

App.mpType = 'app'


import mine from './pages/tabBar/mine/mine.vue'
Vue.component('mine',mine)

import home from './pages/tabBar/main/home.vue'
Vue.component('home',home)


import goods from './pages/tabBar/goods/goods.vue'
Vue.component('goods',goods)

import order from './pages/tabBar/order/order.vue'
Vue.component('order',order)

import customer from './pages/tabBar/customer/customer.vue'
Vue.component('customer',customer)

import {myRequest} from './common/api.js'
Vue.prototype.$myRequest = myRequest

const app = new Vue({
    ...App,
	store
})
app.$mount()
